﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class yh
    {
        public int gh;
        public string xm;
        public string xb;
        public string xl;
        public string bm;

        public yh() {
            xl = "专科";
        }

        public yh(int gh, string xm, string xb, string xl, string bm)
        {
            this.gh = gh;
            this.xm = xm;
            this.xb = xb;
            this.xl = xl;
            this.bm = bm;
        }
        public void ff() {
            Console.WriteLine("我的工号是：{0},我的姓名是：{1},我的性别是：{2},我的学历是：{3},我的部门是：{4} ", this.gh,this.xm,this.xb ,this.xl ,this.bm);
        }
    }
}
